
package xcmg.device.service.wechat.xgwjwcf.datacontract;

import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>AccessTokenModel complex type Java ࡣ
 * 
 * <p>
 * 
 * <pre>
 * &lt;complexType name="AccessTokenModel">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="access_token" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="expires_in" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AccessTokenModel", propOrder = {
    "accessToken",
    "expiresIn"
})
public class AccessTokenModel {

    @XmlElementRef(name = "access_token", namespace = "http://schemas.datacontract.org/2004/07/XGWJ_Model.wechat", type = JAXBElement.class, required = false)
    protected JAXBElement<String> accessToken;
    @XmlElement(name = "expires_in")
    protected Long expiresIn;

    /**
     * ȡaccessTokenԵֵ
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public JAXBElement<String> getAccessToken() {
        return accessToken;
    }

    /**
     * accessTokenԵֵ
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public void setAccessToken(JAXBElement<String> value) {
        this.accessToken = value;
    }

    /**
     * ȡexpiresInԵֵ
     * 
     * @return
     *     possible object is
     *     {@link Long }
     *     
     */
    public Long getExpiresIn() {
        return expiresIn;
    }

    /**
     * expiresInԵֵ
     * 
     * @param value
     *     allowed object is
     *     {@link Long }
     *     
     */
    public void setExpiresIn(Long value) {
        this.expiresIn = value;
    }

}
